package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.RoleListBean;
import com.mz.ozy.bean.SwitchRoleBean;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class SwitchRoleContract {
    public interface View extends BaseView {
        void getRoleListSuccess(RoleListBean json);

        void addRoleSuccess(RoleListBean json);

        void switchRolesSuccess(SwitchRoleBean json);
    }

    public interface Presenter extends BasePresenter<View> {
        void getRoleLevelList(Activity activity);

        void addRole(Context context, String nickName, String inviteCode);

        void switchRoles(Context context, String uname);
    }
}
